﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using HA.Data;
namespace HA.ModFlow.Controls.Windows.Grids
{
    /// <summary>
    /// winGridProperties.xaml 的交互逻辑
    /// </summary>
    public partial class winGridProperties : Window
    {
        public winGridProperties(Grid3d grid)
        {
            InitializeComponent();
            this._grid3D = grid;
        }
        Grid3d _grid3D;

        public Grid3d Grid3D
        {
            get { return _grid3D; }
            set { _grid3D = value; }
        }

      

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            this.DataContext = this._grid3D;
          //this ._grid3D.ModFlowGrid.Config
        }

        private void btnOk_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
    }
}
